package com.javasm.demobike;

import java.util.Date;

public class ShareBike {
    //单车ID
    private int  bid;
    //单车名称
//    private String bname;
    //单车状态
    private int status ;
    //单车借出时间
    private Date borrowTime;

    //

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

//    public String getBname() {
//        return bname;
//    }
//
//    public void setBname(String bname) {
//        this.bname = bname;
//    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public ShareBike(Integer bid, int status, Date borrowTime) {
        this.bid = bid;
//        this.bname = bname;
        this.status = 1;
        this.borrowTime = borrowTime;
    }

    public ShareBike() {
        this.status = 0;
    }
}
